using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;

/// <summary>
/// Contains the image and description of the reflected object
/// </summary>
public class ReflectionOutput : System.IComparable
{
    string _ReflectionDescription;
    string _Image;
    string _StaticImage;

    public string Image
    {
        get { return _Image; }
        set { _Image = value; }
    }

    public string StaticImage
    {
        get { return _StaticImage; }
        set { _StaticImage = value; }
    }
    
    public string ReflectionDescription
    {
        get { return _ReflectionDescription; }
        set { _ReflectionDescription = value; }
    }

    public void NewReflectionOutput(string myImage, string myStaticImage, string myReflectionDescription)

    {
        _Image = myImage;
        _StaticImage = myStaticImage;
        _ReflectionDescription = myReflectionDescription;

        return;
    }

    public int CompareTo(object obj)
    {
        ReflectionOutput rfOut = (ReflectionOutput)obj;
        return this.ReflectionDescription.CompareTo(rfOut.ReflectionDescription);

    }

}

